﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Ket_noi_toi_VPP_bang_mo_hinh_ba_lop
{
    public partial class Help : Form
    {
        public Help()
        {
            InitializeComponent();
        }

        private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
        {
            if (e.Node.Text == "Thêm")
            {
                webBrowser1.Navigate("C:\\Users\\DatNT\\Desktop\\New folder\\Them.htm");
            }
            if (e.Node.Text == "Sửa")
            {
                webBrowser1.Navigate("C:\\Users\\DatNT\\Desktop\\New folder\\sua.htm");
            }
            if (e.Node.Text == "Xóa")
            {
                webBrowser1.Navigate("C:\\Users\\DatNT\\Desktop\\New folder\\Xoa.htm");
            }
            if (e.Node.Text == "Tìm Theo Mã")
            {
                webBrowser1.Navigate("C:\\Users\\DatNT\\Desktop\\New folder\\TimTheoMa.htm");
            }
            if (e.Node.Text == "Tìm Theo Tên")
            {
                webBrowser1.Navigate("C:\\Users\\DatNT\\Desktop\\New folder\\TimTheoTen.htm");
            }
        }

        private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
        {

        }
    }
}
